package nac.firefight;

//~--- non-JDK imports --------------------------------------------------------

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;

/**
 *
 * @author Nac
 *
 */
public class FireFightGame extends StateBasedGame {

    // states here:
    public static final int GAMEPLAY = 2;
    public static final int LOADING  = 0;
    // public static final int          MAINMENU     = 1;

    // game constants here:
    public static final String RESOURCE_DIR = "src/nac/firefight/res";



    private ResourceMap resourceMap  = new ResourceMap();

    public FireFightGame() {
        super("FireFight");
    }

    public ResourceMap getResourceMap() {
        return resourceMap;
    }

 
    public void initStatesList(GameContainer gameContainer) throws SlickException {
        this.addState(new LoadingState(LOADING, this));

        //this.addState(new MainMenuState(MAINMENU, this));
        this.addState(new GamePlayState(GAMEPLAY, this));
        this.enterState(LOADING);
    }
}


//~ Formatted by Jindent --- http://www.jindent.com
